package top.lishuoboy.lombok.annotation.slf4j;

import lombok.extern.log4j.Log4j2;

/**
 * 使用@Log4j2注解
 * 依赖Log4j-api  和  Log4j-core(如果不存在则依赖jdk-log)
 *
 * @author lishuoboy
 */
@Log4j2
public class Log4j2Test {
    
    public static void main(String[] args) {
        
        log.fatal("fatal");
        log.error("error");
        log.warn("warn");
        log.info("info");
        log.debug("debug");
        log.trace("trace");
        
    }
    
}
